package com.woniu02;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public class Test00 {

    public static void main(String[] args) throws IOException {
        List<Student> astudents = new ArrayList<Student>();
        astudents.add(new Student(1,"zs",11,"male"));
        astudents.add(new Student(2,"ls",12,"female"));
        astudents.add(new Student(3,"ww",13,"male"));
        Test.saveData(astudents,"astudent.txt");
        Test.loadData("astudent.txt");
    }
}
